<?php 
$con = mysql_connect( "localhost:3306", "root", "dicktits" );

if ( !$con ) 
	{ 
		die( "Could not connect: " . mysql_error() );
	}

mysql_select_db( "jelly_baby", $con ); 

$result = mysql_query( "SELECT * FROM ActiveBans" );

while( $row = mysql_fetch_array( $result ) );
	{ 
		//HTML Work
	}

mysql_close( $con );
?>